package com.xzh.springCloud.handler;

import com.xzh.springCloud.entity.Result;

/**
 * @Author: zhiHong
 * @CreateTime: 2023-08-30 22:43
 * @Description: 自定义全局异常处理类
 */
public class CustomGlobalFallback {
    public static Result fallbackHandlerMethod01() {
        return Result.error("403", "自定义 fallback 异常/fallbackHandlerMethod01");
    }

    public static Result fallbackHandlerMethod02() {
        return Result.error("403", "自定义 fallback 异常/fallbackHandlerMethod02");
    }
}
